package com.squirrel.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Description CommentaryVO 弹幕列表视图
 * @Author 林煜岚
 * @Version v1.0.0
 * @Date 2021/11/11
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("弹幕")
public class CommentaryVO {

    @ApiModelProperty("弹幕在视频中出现的时间")
    private Float time;

    @ApiModelProperty("弹幕模式")
    private int type;

    @ApiModelProperty("字体颜色")
    private Long color;

//    @ApiModelProperty("发送者的ID")
//    private Long author;

    @ApiModelProperty("本地时间戳")
    private Long realTime;

    @ApiModelProperty("弹幕内容")
    private String text;

}
